package td.utils {
	import flash.display.MovieClip;
	import td.ITd.ITool;
	import flash.utils.getDefinitionByName;
	public class toolmc extends MovieClip implements ITool
	{
		private var _superPanel:MovieClip;
		public function toolmc() {
			var _myClass:Class = getDefinitionByName("upTool_mc") as Class;
			_superPanel = new _myClass();
			addChild(_superPanel);
		}
		
		public function updataMoney(money:Number):void {
			_superPanel.userMoney.text = money.toString();
		}
	}
}